<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>registerSeller</title>
    <link rel="StyleSheet" href="../css/login.css" type="text/css" media="screen" />
    <link rel="StyleSheet" href="../css/common.css" type="text/css" media="screen" />
    <script src="https://kit.fontawesome.com/58cb2985af.js" crossorigin="anonymous"></script>
</head>
<body>
<div th:replace="common/top"></div>

<div id="w">
    <div class="registerContent">
        <div class="registerTitle">
            <p class="title">Register-seller</p>
        </div>

        <div th:if="${errorMsg} != null" class="errorContent">
            <p th:text="${errorMsg}" id="error" name="error">error</p></span>
        </div>

        <form action="/admin/registerForm" class="registerForm">
            <table class="registerList">
                <tr>
                    <td class="listName">用户名： </td>
                    <td class="listContent">
                        <input type="text" class="registerFormInput" name="username" id="username">
                    </td>
                </tr>

                <tr>
                    <td class="listName">密   码：</td>
                    <td class="listContent">
                        <input type="password" class="registerFormInput" name="password" id="password">
                    </td>
                </tr>

                <tr>
                    <td class="listName">手机号：</td>
                    <td class="listContent">
                        <input type="text" class="registerFormInput" name="code" id="phoneNumber">
                    </td>
                </tr>

                <tr>
                    <td class="listName">短信验证码：</td>
                    <td class="listContent">
                        <input type="text" class="registerFormInputCode" name="phoneCode" id="code">
                        <button type="button" class="registerObtain">Obtain</button>
                    </td>
                </tr>

                <tr>
                    <td class="listName">邀请码：</td>
                    <td class="listContent">
                        <input type="text" class="registerFormInput" name="inviteCode" id="inviteCode">
                    </td>
                </tr>
            </table>

            <div class="registerFormItem">
                <input type="submit" class="registerFormSubmit" value="register">
            </div>

            <div class="registerFormLink">
                <a href="/user/registerByGitee" class="link1">第三方注册</a>
                <a href="/user/registerForm" class="link2">点击返回注册买家版</a>
            </div>

        </form>
    </div>
</div>

    <div th:replace="common/bottom"></div>
<script src="../js/sendPhoneCodeForRegister.js"></script>
<script src="../js/registerErrorMsg.js"></script>
</body>
</html>